﻿@model Apache.Models.LoginViewModel
@{
    Layout = null;
  }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>欢迎登录企业信息系统快速开发平台</title>
<link href="/content/customcss/style.css" rel="stylesheet" type="text/css" />
@Scripts.Render("~/bundles/jquery")
<script src="/scripts/custom/cloud.js" type="text/javascript"></script>   
<script language="javascript">
	$(function(){
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
	$(window).resize(function(){  
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
    })  
});  
</script> 
</head>

<body style="background-color:#1c77ac; background-image:url(/images/login/light.png); background-repeat:no-repeat; background-position:center top; overflow:hidden;">


    <div id="mainBody">
      <div id="cloud1" class="cloud"></div>
      <div id="cloud2" class="cloud"></div>
    </div>  


<div class="logintop">    
    <span>欢迎登录企业信息系统快速开发平台</span>    
    <ul>
    <li><a href="#">帮助</a></li>
    <li><a href="#">关于</a></li>
    </ul>    
    </div>
    @using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { role = "form" }))
            {
    <div class="loginbody">
    
    <span class="systemlogo"></span> 
       
    <div class="loginbox">
       
    <ul>
    <li>@Html.TextBoxFor(m => m.UserName, new { @class = "loginuser" })</li>
    <li>@Html.PasswordFor(m => m.Password, new { @class = "loginpwd" })</li>
    <li style="margin-bottom: 5px;"><input name="" type="submit" class="loginbtn" value="登录" /><label>@Html.CheckBoxFor(m => m.RememberMe)记住密码</label></li>
    <li style="border: none; font-size: 14px;color:red; font-weight: bold; margin:0px;">@Html.ValidationSummary(true)@Html.ValidationMessageFor(m => m.UserName)@Html.ValidationMessageFor(m => m.Password)</li>
    </ul>
    </div>
    
    </div>
    
    
            }
    <div class="loginbm">版权所有&copy;  2015  </div>
	
    
<div style="display:none"></div>
    @section Scripts {
        @Scripts.Render("~/bundles/jqueryval")
    }
</body>
</html>
